package com.zr.storelocal.model;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @ClassName StoreLocalAddVo
 * @Description TODO
 * @Author xiaowei
 * @Date 2020/1/7 17:02
 * @Version 1.0
 */
@Data
public class StoreLocalAddVo {
    private String storeCode;
    @NotBlank(message = "库区编码不能为空")
    private String storeAreaCode;
    @NotEmpty(message = "库位信息不能为空")
    @Valid
    private List<StoreLocalVo> storeLocalVoList;
}


